package com.duobaoyu.dby.supply.biz.producer.message;

import com.duobaoyu.dby.supply.common.mq.remote.message.base.BaseMessage;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 售后退款消息
 *
 * @author fengshaoyu
 * @version 1.0.0
 * @date 2023/9/28 10:06
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AfterSaleMessage extends BaseMessage {

    /**
     * 售后单号
     */
    private String afterSaleSn;

    /**
     * 售后类型
     */
    private Integer afterSaleType;
    /**
     * 订单号
     */
    private String orderSn;

    /**
     * 售后状态
     */
    private Integer afterSaleStatus;

    /**
     * 订单自动取消
     */
    private Boolean orderAutoCancel;

    /**
     * 退款成功
     */
    private Boolean refundSuccess;
}
